<template>
    <div class="case-page">
        <iframe :src="caseUrl" frameborder="0" v-show="urlShow"></iframe>
    </div>
</template>
<script>
import { reactive, toRefs } from '@vue/reactivity'
import { useRouter } from 'vue-router'
export default {
    setup() {
        const router = useRouter()
        const data = reactive({
            caseUrl: 'http://112.103.254.249:50007/vnc_auto.html?path=websockify/?token=planeshow2',
            urlShow: true,
        })
        return {
            ...toRefs(data)
        }
    },
}
</script>
<style lang="scss" scoped>
.case-page {
    width: 100%;
    height: 100vh;
    iframe {
        width: 100%;
        height: 100%;
    }
}
</style>